<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0"/>
<title>head</title>
<script src="../../bootstrap-3.3.7-dist/js/jquery-3.3.1.min.js"
	type="text/javascript"></script>
<script src="../../bootstrap-3.3.7-dist/js/bootstrap.min.js"
	type="text/javascript"></script>
<link href="../../bootstrap-3.3.7-dist/css/bootstrap.min.css"
	rel="stylesheet">
	
	<link rel="stylesheet" href="<%=request.getContextPath() %>/assets/css/bootstrap.min.css">
<script src="<%=request.getContextPath()%>/assets/js/jquery.min.js"></script>
<script src="<%=request.getContextPath()%>/assets/js/bootstrap.min.js"></script>

<script type="text/javascript" src="<%=request.getContextPath()%>/js/modifypassword.js"></script>
	
<style type="text/css">
.divstyle {
	background: #eee;
	margin: 10px 10px;
	padding: 10px 10px;
	border-radius: 20px;
}
.divcontainerstyle {
	background: #eee;
	padding: 10px 10px;
	border-radius: 25px;
}

.fontstyle {
	font-size: 1.5em;
}

.imgstyle {
	float: left;
	height: 60px;
}
body{
	background:url('../../resource/background.jpg') repeat;
	background-size:400px 400px;
}
</style>
</head>
<body>
	<nav class="navbar navbar-default">
		<div class="container">
			<div class="navbar-header">
				<a class="navbar-brand" href="#">上机考试系统</a>
			</div>
			<div class="container">
				<ul class="nav navbar-nav navbar-left">
					<li><a class="glyphicon glyphicon-home"
						href="teacher_main.jsp">首页</a></li>
					<li><a class="glyphicon glyphicon-cog" href="teacher_exam_create.jsp">考前操作</a></li>
					<li class="dropdown"><a href="" class="dropdown-toggle"
						data-toggle="dropdown"> <span class="glyphicon glyphicon-link">考中管理</span>
							<span class="caret"></span>
					</a>
						<ul class="dropdown-menu">
							<li><a href="../../servlet_examinfo_teacher" class = "glyphicon glyphicon-eye-open">考试概况</a></li>
							<li><a href="teacher_manage_student.jsp" class = "glyphicon glyphicon-list">学生信息</a></li>
							<li class="divider"></li>
							<li><a href="teacher_manage_unlock.jsp" class = "glyphicon glyphicon-lock">解除锁定</a></li>
							<li><a href="teacher_manage_notify.jsp" class = "glyphicon glyphicon-envelope">通知管理</a></li>
						</ul></li>
					<li><a class="glyphicon glyphicon-paperclip" href="teacher_afterexam.jsp">考后操作</a></li>
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li><p class="nav navbar-text">欢迎<%=session.getAttribute("teachername") %></p></li>
					<li><a class="glyphicon glyphicon-pencil" id="modifypassword">修改口令</a></li>
					<li><a class="glyphicon glyphicon-remove" href="../../login.jsp">退出</a></li>
				</ul>
			</div>
		</div>
	</nav>
	
	
	
	<div class="modal fade " id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog modal-sm" role="document"><!-- 就是这个标签的class加上了modal-sm，所以出来的提示框才是窄的 -->
            <div class="modal-content">
                <div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title">修改口令</h4>
				</div>
				<div class="modal-body">
				<form class=" form exam-form" action="tmodifypassword.action" method="post">
					<p>
						<input class="input" type="password" name="oldpass" placeholder="原口令" style="width:100%"/>
						<br/>
						<input class="input" type="password" name="newpass1" placeholder="新口令" style="width:100%"/>
						<br/>
						<input class="input" type="password" name="newpass2" placeholder="重输新口令" style="width:100%"/>
						<br/>
						<input type="submit" class="btn btn-primary" value="修改" style="width:100%"/>
					</p>
				</form>
				</div>
			
            </div>
        </div>
       </div>
</body>
</html>